


import {axios,get,post} from "@/utils/axios"


//获取假token
export const gettoken = params => get('/lucky/gettoken',params);


//注册
export const regis = params => post('/lucky/regis',params);


//登录
export const login = params => post('/lucky/login',params);


//上传头像
export const uploadpic = params => post('/lucky/uploadpic',params);


//上传头像
export const gethomebanner = params => post('/lucky/gethomebanner',params);



//获取我的用户信息
export const getuserinfo = params => post('/lucky/getuserinfo',params);


//获取我的用户信息
export const adduser = params => post('/lucky/adduser',params);


//获取我的用户信息
export const alluserinfo = params => post('/lucky/alluserinfo',params);


//删除一个用户
export const deloneuser = params => post('/lucky/deloneuser',params);


//删除一个用户
export const edituser = params => post('/lucky/edituser',params);

//发表意见
export const subadvice = params => post('/lucky/subadvice',params);

//获取所有的意见信息
export const getalladvice = params => post('/lucky/getalladvice',params);


//获取所有的意见信息
export const deloneadvice = params => post('/lucky/deloneadvice',params);


//获取需要编辑的意见信息
export const getadvicebyid = params => post('/lucky/getadvicebyid',params);


//获取需要编辑的意见信息
export const updateadvicebyid = params => post('/lucky/updateadvicebyid',params);


//获取需要编辑的意见信息
export const replyadvice = params => post('/lucky/replyadvice',params);

//获取车辆列表数据
export const getallcarinfo = params => post('/lucky/getallcarinfo',params);


// //获取车辆列表数据
// export const getgoodlist = params => post('/lucky/getallcarinfo',params);
//车辆信息分类查询
export const getcarstype = params => post('/lucky/getcarstype',params);

// //车辆信息分类查询
// export const getgoodtypelist = params => post('/lucky/getcarstype',params);





//薪资列表，模糊查询
export const addwork = params => post('/lucky/addwork',params);


//薪资列表，模糊查询
export const getsalary = params => post('/lucky/getsalary',params);

//薪资列表，模糊查询
export const delworkone = params => post('/lucky/delworkone',params);


//薪资列表，模糊查询
export const updatework = params => post('/lucky/updatework',params);























































































